package com.lwz.adapter;

public class Adapter implements Target {
	 
	Adaptee adaptee;
	
	public Adapter(Adaptee adaptee){
		this.adaptee = adaptee;
	}

	@Override
	public void request() {
		String name = "lwz";
		System.out.println("在适配器中适配一些可知的参数,达到适配的作用");
		adaptee.doSomething(name);
	}

}
